package com.abo.yaas.view.widgets;

import com.abo.yaas.webservice.exceptions.CommunicationException;
import com.vaadin.ui.Window.Notification;

@SuppressWarnings("serial")
public class CommunicationExceptionNotification extends Notification {
    public CommunicationExceptionNotification(CommunicationException e) {
        this(e.getMessage());
    }

    public CommunicationExceptionNotification(String msg) {
        super(msg);
        setDelayMsec(-1);
    }
}
